Synthesis of isochroman‐fused pyrazolone and pyrimidine derivatives