Japan, Philippines agree to work together to sign security p