Harsh treatment: New research shows how homelessness is costing the health service millions