Dynamics of polaritons in a semiconductor multiple-quantum-well microcavity