Mom's sweet tooth may be linked to child's allergies, study says