which of the following electomagnetic waves has the highest frequency and energy?