Analysis of side-chain orientations in homologous proteins