Top diplomats from Thailand and Cambodia have started talks in China to formalise an end to their border dispute.