Transverse demagnetizing factors of long rectangular bars. II. Numerical calculations for arbitrary susceptibility