Polymeric and monomeric ruthenium carboxylate complexes: preparation and catalytic activity in homogeneous and heterogeneous phase