MHD modelling of density limit disruptions in tokamaks