The electromagnetic spectrum ranges from radio waves to gamma rays. What is the relationship between wave frequency and energy level?