Hidden Tree Markov Models for Image Document Classification