Monolithic photonic chips for multi-channel frequency mixers and single photon detectors