how can you treat type 2 diabetes