Enhancement of terahertz Smith-Purcell radiation by two electron beams