Researchers found playing with dolls helped kids of both sexes reach key milestones in developing social understanding