Nexus between the microbial diversity level and the stress tolerance within the biogas process.