Cometary avalanches as the cause of their violent outbursts - a new model of the phenomenon