Computational modelling of Pd-catalysed alkoxycarbonylation of alkenes and alkynes.