Understanding how taxes factor into an M&A transaction