Joint probability distributions of observables in quantum mechanics