Photonic crystal photodetector-modulator integration for ultra-compact wavelength converter