Anaerobic degradation of organic matter controlled by productivity variation in a restricted Late Triassic basin