Synthesis of 1-methyl-5-(pyrazol-3- and –5-yl- and 1,2,4-triazol-3- and 5-yl)-1,2,3,6-tetrahydropyridine derivatives and their evaluation as muscarinic receptor ligands