Producing Optical Pulses of a Desired Wavelength Using Cherenkov Radiation