The energy of a photon or quantum is related to its