Microscale spatial distributions of microbes in marine intertidal sediments and photosynthetic microbial mats