Synthesis, characterization of novel heterocycles and their 3d metal complexes; evaluation of biological and catalytic activities