From opium-laced syrups to “just ignore the baby,” history is packed with child-rearing advice and habits best left in the past.