Effect of Solid Surfaces on the Activity of Attached Bacteria