Type 2 diabetes: pathogenesis and treatment