Quantum mechanical correlation functions for the electromagnetic field and quasi-probability distribution functions