how does sleep affect child development