From the base upward, a bedding sequence begins with a bioclastic limestone, passes upward into a dense carbonate rock made of carbonate-cementing organisms, and ends with beds of dolostone. What are the possible sedimentary environments represented by this sequence?