Electronic and Optical Properties in Device Applications of Polysilanes