Japanese sporting goods firm Asics Corporation has agreed to buy Swedish outdoor clothing and equipment brand Haglöfs.