Diabetes mellitus and cardiac function