Functional divergence after gene duplication and sequence-structure relationship: a case-study of G-protein alpha subunits