Spectral Functionals, Nonholonomic Dirac Operators, and Noncommutative Ricci Flows