Senate confirms James Comey to head FBI