Environmental assessment of farm-scaled anaerobic co-digestion for bioenergy production