Spectra of digraphs