Toddler, mother injured in pit bull attack