PRODUCTIVITY OF SOLAR FLARES AND MAGNETIC HELICITY INJECTION IN ACTIVE REGIONS