The development of self-regulation through private speech