Temperature-dependent ferroelastic switching of soft lead zirconate titanate