Analysis of the criteria for improving biogas production: focus on anaerobic digestion