Nonlinearity and photostructural changes in glassy As2S3 thin films