Photoelectron spectroscopic investigation of photostructural transformations in glassy chalcogenide semiconductor films