Quantification of biofilm accumulation by an optical approach.