Effects of biomass entrapment and carrier properties on the performance of an air-fluidized-bed biofilm reactor