Plane-wave pseudopotential calculation of the optical properties of GaAs