Pete Hegseth sworn in as US defense secretary