An accurate H2–H2 interaction potential from first principles