Moving dielectric interfaces as photonic wavelength converters