Stark and Zeeman effects in excitons in GaAs/GaAlAs quantum wells