Quantum Theory of Optical Coherence