Magnetic-field effects on quasi-two-dimensional excitons in coupled GaAs-(Ga,Al)As quantum wells