State capacity and military conflict