Fast outflows and star formation quenching in quasar host galaxies