Pair interaction from structural data for dense classical liquids.