Structurally Constrained Evolutionary Algorithm for the Discovery and Design of Metastable Phases.