A model of photostructural changes in chalcogenide vitreous semiconductors: 1. Theoretical considerations