Microbial mineralization of organic matter: mechanisms of self-organization and inferred rates of precipitation of diagenetic minerals