Hyundai Motors is to swap production of two models between its Czech factory and a Kia Motors plant in neighbouring Slovakia.