CYCLOSTRATIGRAPHY OF SHALLOW-WATER CARBONATES. THEORY AND APPLICATIONS