Redox-controlled selenide mineralization in the Upper Old Red Sandstone