How did World War II transform American society? What were the internal and external effects?