Leaders of U.S., South Korea and Japan agree closer cooperation over North Korea threat