Repetitions and cycles in stratigraphy