average variable cost formula with example