Anisotropic magnetic properties of excitons in GaAs multiple quantum wells