Synthesis of new 1,2‐dihydrophthalazines