The habit planes in certain martensitic and nucleation-and-growth transformations