Stock markets rise, dollar struggles on US rates outlook