joint probability distribution formula example