Synthesis and evaluation of berberine derivatives and analogs as potential antiacetylcholinesterase and antioxidant agents