Obama visits Vietnam, Japan