Conformational analysis of 5-membered ring compounds having cholinergic activity