Comparison of three types of anaerobic granular sludge for treating pharmaceutical wastewater