Electrophoretic deposition of bacterial cells