Hypersonic finite-rate chemically reacting viscous flows over an ablating carbon surface