An efficient synthesis of functionalized 2-pyridones by direct route or via amide/enolate ammonium salt intermediates