A counterintuitive Mg2+-dependent and modification-assisted functional folding of mitochondrial tRNAs.