Nitrate reduction sulfur cycling