Study reveals early warning signs of eating disorders