ER Stress as a Trigger for β-Cell Dysfunction and Autoimmunity in Type 1 Diabetes