Flash sintering as a nucleation phenomenon and a model thereof