Comparison of three-dimensional structures of homologous proteins