Synthesis and biological activity of derivatives of tetrahydroacridine as acetylcholinesterase inhibitors.