Electronic and optical properties of non-hexagonal Dirac material S-graphene sheet and nanoribbons