Effect of structural randomness on the frontier states of polysilane