Mars sedimentary rock erosion rates constrained using crater counts, with applications to organic-matter preservation and to the global dust cycle