Trump picks loyalist to head spy agencies