Synthesis of substituted 2-pyridones and 4-aza-3-fluoridones