Variations in the band gap of semiconducting glassy chalcogenides with composition