Relaxation of the magnetization in high-Tc superconductors