Senate confirms Trump's picks for defense, homeland security