Swedish retailer H&M has signed an agreement to open its first store in South Korea.