Determination of an experimental He2 potential energy function by inversion of differential cross sections