Measurement of the electron energy spectrum and its moments in inclusive B→Xeν decays