S.Korean won ends at more than 6-wk low on dollar strength