Biological treatment of organic materials for energy and nutrients production—Anaerobic digestion and composting