An effective contribution to functionalized pyridines synthesis by way of an unusual rearrangement of amidines