Phase Transitions in Liquids and Solids: Solidification and Melting