Reduction of nitroaromatics, alkenes and alkynes by transition metal complexes both in homogeneous and heterogeneous phases