It might seem like something from another era, yet corporal punishment is still a common form of discipline in many families.