Calculation of an effective pair interaction potential for liquid neon from structure factor measurements