Modelling dynamics of ground vegetation diversity in forest ecosystems