Selective construction of carbon-heteroatom bonds mediated by homogeneous and heterogeneous catalysts