Progression of autoimmune diabetes driven by avidity maturation of a T-cell population