Spin relaxation in n-type GaAs quantum wells with transient spin grating