Direct determination of long‐range inverse‐power potential coefficients from spectroscopic data