Getting repeated colds and fevers may make children more likely to develop eczema, according to a study.