How does the energy of a photon of electromagnetic energy change as the frequency increases?