Children removed from homes ending up in hospital wards