Fasting may do more than help people lose weight, study finds