Analysis of a densitometry assay for bacterial chemotaxis.