De novo synthesis of substituted pyridines