Phylogenetic approach for inferring the origin and functional evolution of bacterial ADP-ribosylation superfamily.