Synthesis and biological evaluation as AChE inhibitors of new indanones and thiaindanones related to donepezil.