InP-based waveguide photodetector with integrated photon multiplication