Cash flow and tax implications in M&A transactions