Path-entropy maximized Markov chains for dimensionality reduction