Environmental diversity of bacteria and archaea