Scheme 1: Synthesis of phthalazinone derivatives 2 and 5