Spectroscopic Signatures of the Tidal Disruption of Stars by Massive Black Holes