Babies can avoid egg allergies later in life by starting to eat eggs gradually from the age of six months, according to a new study.