Afghanistan’s President Ashraf Ghani has urged all Afghans to vote in parliamentary elections, amid concerns that violence will keep voters away from polling stations.