Pakistan, Afghanistan set up military hotline