The unified phenomenological model of light curves of stellar flares