South Korean, Philippine presidents agree to advance ties in AI, energy, defense