New syntheses of pyrazolo[3,4‐d]pyrimidine, pyrazolo[3,4‐d]pyridazine, isoindolinedione and pyrazole derivatives