If the wavelength of a wave decreases but the speed remains constant, what happens to the frequency of the wave?