Relative priority policies for minimizing the cost of queueing systems with service discrimination