The dislocation structure and energy of NiOPt interfaces