Measurement of the inclusive electron spectrum in charmless semileptonic B decays near the kinematic end point and determination of vertical bar V-ub vertical bar