Use of photoelectron energy spectrum transfer equation for the measurement of a narrowband XUV pulse