Relaxation folding and the principle of the minimum rate of energy dissipation for conformational motions in a viscous medium