Granular filters for tertiary wastewater treatment