Children who have bouts of binge eating followed by dieting could be shortening their lives, scientists claim.