variable cost formula in marginal costing