Afghans vote in parliamentary elections gripped by insecurity