does weight gain cause diabetes