Snipers on rooftops and officials wearing bulletproof vests are among extreme measures at some US voting locations, according to a senior election official.