The dating of impure carbonates with decay-series isotopes