Plane wave spectrum of electromagnetic beams