Adaptation to chronic ER stress enforces pancreatic β-cell plasticity