Gravar-mail: Clustering of protein domains for functional and evolutionary studies