The two Koreas agreed to form a combined women's ice hockey team to take part in next month's Winter Olympics.