Relation between electrical and optical gaps of amorphous semiconductors in the SiAsTe system