Dynamic stability analysis of tailings dams