Bacterial ion channels and their eukaryotic homologues