Prediction of average biofilm density and performance of a spherical bioparticle under substrate inhibition.