Title: The impact of phase transitions on cosmological perturbations