Frequency Shifting a Single Photon by Electro-Optic Modulation