Carbonylation and homologation of methanol, methyl ethers and esters in the presence of ruthenium catalysts