War, entrepreneurs, and the state in Europe and the Mediterranean, 1300-1800