Psychological factors of peace and war