A method for detecting possible Martian biocarbonates: application to terrestrial microbialites