Spectroscopic and photometric time series of the bright RRc star T Sex