Intensity of Smith-Purcell radiation in the relativistic regime