On the origin of solar and stellar flaresтезисы доклада