Local comparison of protein structures highlights cases of convergent evolution in analogous functional sites