relationship between wavelength and frequency on the electromagnetic spectrum