Mechanics of Solids with Phase Changes