Characteristics of waveguide photodetectors at high-power optical input