Childhood neglect leaves marks which last for generations, researchers find