Scottish judge rules Texas prisons violate international human rights