City is fifth costliest in terms of living expenses, but is 13th most affordable when average wages are accounted for, report finds