Thermally induced transformations in glassy chalcogenides