Stratigraphy and structure of the northern and western flanks of the Black Hills uplift, Wyoming, Montana, and South Dakota