PHOTOMETRIC STUDY ON STELLAR MAGNETIC ACTIVITY. I. FLARE VARIABILITY OF RED DWARF STARS IN THE OPEN CLUSTER M37