Distribution of activation energies for thermally activated flux motion in high-Tc superconductors: An inversion scheme.