Dollar set for steepest weekly gain in a year as Iran crisis boosts haven bid