The offshoring of jobs associated with globalization combined with technological change have been devastating for many American communities, while designing programs to help has proved difficult, Federal Reserve Chairwoman Janet Yellen said in London.