Synthesis and cholinesterase inhibiting potential of A-ring azepano- and 3-amino-3,4-seco-triterpenoids.