Synthesis of 6-substituted-4,5-dihydro-3(2H)-pyridazinones