variable cost per unit formula with example