Osmotaxis in Escherichia coli through changes in motor speed