Electronic structure of the GaAs(001)2x4 and GaAs(110) surfaces studied by high-resolution electron-energy-loss spectroscopy