In what ways did the alliance system, implemented to maintain a peaceful balance of power in Europe, in fact have the opposite effect