Improved prediction of critical residues for protein function based on network and phylogenetic analyses