Structures of ion channels and their regulation by lipid environment