Seol mar théacs é seo: The physics of phase transitions: concepts and applications