Ergodicity in Parametric Nonstationary Markov Chains: An Application to Simulated Annealing Methods