US government says it will detain migrant children with parents