Smith-Purcell radiation from a grating of negative-index material