Relations between twin and slip in parent lattice due to kinematic compatibility at interfaces