how to keep blood sugar stable and lose weight