Convenient one-pot synthesis of resin acid Mannich bases as novel anticancer and antifungal agents