Ferroelastic Hysteresis in Thin Films of Methylammonium Lead Iodide.