why do babies have curly hair