Simulation of bacterial locomotion and attachment in the interspaces of packed bed reactors