Dollar gains after US retail sales; debt ceiling in focus