Anaerobic digestion of livestock effluents, energy crops and agro-waste: renewable energy potential and nutrients management