Density of electronic states in periodic and disordered chains of segmented polyacetylene