Understanding the competitive dehydroalkoxylation and dehydrogenation of ethers with Ti–C multiple bonds