Diagenesis in sediments