Past sedimentary organic matter accumulation and degradation controlled by productivity