Afghans vote amid chaos, corruption and Taliban threats