Univ of South Carolina president quits, says ‘trust is lost’