Afghans vote in presidential election as US troops exit