China, Thailand sign 8 cooperation agreements on trade, security, technology