Conditioning of infinite Hankel matrices of finite rank