China and Pakistan pledge to boost bilateral ties