Texas prison sells for $6 million