Synthesis and structural investigation of transition metal ion complexes with pyrazole and pyrimidine derived ligands