Dynamic pricing with fairness concerns and a capacity constraint