waveguide photodetector