Pilot-scale testing of a leachbed for anaerobic digestion of livestock residues on-farm.