Inverse Design of Light Manipulating Structural Phase Transition in Solids.