A model for Plinian eruptions of Vesuvius