The amount of cash held overseas by U.S. firms has risen to $2.5 trillion, according to new research by independent advisory firm Capital Economics.