Bacteria can 'smell' their environment, research shows