Risk factor associations for severe COVID-19, influenza and pneumonia in people with diabetes to inform future pandemic preparations: UK population-based cohort study