New pyridine derivatives as inhibitors of acetylcholinesterase and amyloid aggregation