CW and pulsed investigation of photoinduced darkening in AS2S3 amorphous thin films