Optical coherence and Wolf’s theory for electromagnetic waves