Pathophysiology of diabetes mellitus and diabetes insipidus