Enhanced and inhibited spontaneous emission of free excitons in GaAs quantum wells in a microcavity