U.S. dollar, yen rise after soft China data, amid Afghan unrest