Phase transitions in particle physics