how to prevent high blood sugar at night