Electronic properties of inorganic quasi-one-dimensional compounds