Raman spectra of a two-dimensional electron gas in narrow-gap semiconductor quantum wells in magnetic fields: Spin-flip and anisotropic effects