Fate of trace metals in anaerobic digestion