BRST quantization of the gauged WZW action and coset conformal field theories