Resonant Bragg reflection from quantum-well structures