BRST-BFV quantization of the chiral Schwinger model