How do children learn to regulate their emotions