Using 3D Hidden Markov Models that explicitly represent spatial coordinates to model and compare protein structures