Experimental and theoretical study on the formation of volatile sulfur compounds under gas reservoir conditions