Market Optimism and Merger Waves