Phase Transformations and Material Instabilities in Solids