Sedimentology and geochemistry of carbonates from lacustrine sequences in the Madrid Basin, central Spain