Factors influencing the fate of antibiotic resistance genes during thermochemical pretreatment and anaerobic digestion of pharmaceutical waste sludge.