UN investigator accuses US of shameful treatment of homeless