Knight resigns from Texas Tech