Describe the relationship between wavelength, frequency, and energy in electromagnetic waves. Which waves are the most dangerous?