Microbial mats and the early evolution of life