Karzai urges neighbours to stop militants crossing borders