Market Power in a Storable-Good Market: Theory and Applications to Carbon and Sulfur Trading