Explaining the rise of militarist and totalitarian states in Italy, Germany, the Soviet Union, and Japan