Multifunctional acid and base catalysts for cascade reactions