Bernanke says the Fed's asset purchases could end by the middle of 2014