How to manage type 2 diabetes with diet