South Korea and Japan use G-7 to push improvement in ties long marked by animosity