Bernanke: More economic pain ahead