Essays on military conflict and cooperation