Photon states from propagating complex electromagnetic fields