Obama signs ‘fiscal cliff’ deal, stocks cool on debt warnings