Asian markets rise as China, US agree to avert trade war