Federal Reserve Chairman Ben S. Bernanke told lawmakers Wednesday that the Fed’s efforts to bolster growth have helped lift the U.S. economy out of the Great Recession.