Structural and electronic properties of new 1D and 2D carbon allotropes with mixed sp1 − sp3 hybridization types