Calculation of sensitivities of throughputs and realization probabilities in closed queueing networks with finite buffer capacities