Wage and Housing Cost Gradients across the Urban Hierarchy