Organic geochemistry, petrology and palynofacies of Middle Devonian lacustrine flagstones in the Orcadian Basin, Scotland: depositional environment, thermal history and petroleum generation potential