Configuration-coordinate model for photodarkening in amorphous As2S3