US stocks close higher as Fed vows stronger stance against inflation