Thermally activated flux motion in high-Tc superconductors