Intermittent starvation in the prevention and treatment of diabetes