Ted Cruz endorses John Cornyn