variable cost formula with example