The STAGES view of red spirals and dusty red galaxies: Mass-dependent quenching of star formation in cluster infall