Midwives or gravediggers of democracy? The military’s impact on democratic development