Smacking your children can damage their mental ability'