Impact of hydraulic retention time on phosphorus removal from wastewater using reactive media