Electronic Structure of the S8 Molecule and Its lons and the Transport Properties in the Crystalline Solid and the Liquid