Chinese and Japanese ruling parties vow closer ties as they hold first talks in 6 years