Towards new methodologies for the synthesis of biologically interesting 6-substituted pyrimidines and 4(3H)-pyrimidinones