HaploGrep: a fast, reliable and innovative algorithm for automatic classification of mitochondrial DNA haplogroups