Modelling biological processes in water treatment: the integrated biofiltration model