Strain Energy Controlled Shape of Crystals Forming Due to a Martensite Transformation or Decomposition