Converts a wavelength to the corresponding wavenumber and vice versa.