Global stocks climb on recovery, stimulus optimism; dollar gains