Elements of Thermodynamics for the Understanding and Design of Crystal Growth Processes