Flux Creep and the Crossover to Flux Flow in the Resistivity of High-Tc Superconductors