Validity of spherical quantitative refractometry: Application to laser‐produced plasmas