Conversion of cattle manure into functional material to remove selenate from wastewater.