India, China to ink border mechanism