Effect of ambient, excitation intensity and wavelength, and chemical structure on photodegradation in polysilanes