Interactions between environmental changes and diagenetic alterations on Barremian-Aptian shallow-water carbonates and their response to carbon cycle perturbations.