Photonic-electronic arbitrary-waveform generator (PE-AWG) using a single-photodiode down-converter