Pātuhitia tēnei: The physics of phase transitions: concepts and applications