The steady-state optical response of the homojunction triangular barrier photodiode