A 26-year-old man presents with weight loss, polydipsia and polyuria. Capillary blood glucose is 26 mmol per litre. Venous blood gas shows pH 7.15, bicarbonate 10 mmol per litre and ketones 5 mmol per litre. What is the most appropriate initial management in hospital