Chemistry of alkenethiolates. Six- and seven-membered rings with two hetero atoms