Stratigraphic and environmental patterns of ironstone deposits