Photostructural effects in glassy As2Se3 and As2S3