The homology of a space on which a reflection group acts