Self-organized multigrain patterning with special grain boundaries produced by phase transformation cycling