Spectral methods for isometric shape matching and symmetry detection