The children who have been detained in appalling conditions at the border could bear scars from the experience for life, experts say