Interatomic potential in compressed solid helium