Strain phase diagram and domain orientation in SrTiO3 thin films.