Reconstruction of pair interaction potentials from radial distribution functions