Structure and Phase Transformations of Nanophases Embedded in Solids