Synthesis of novel 2H-indazole analogues via the Davis-Beirut reaction and conjugation onto magnetic nanoparticles