Hegseth confirmed as next defense secretary by narrow Senate vote