analysis of cost and sales variances