Gravar-mail: Inferring functional units in ion channel pores via relative entropy