How do i calculate the cost basis for a spinoff stock?