Effects of rotation on the spectra of brown dwarfs