Was America at war when Japan attacked Pearl Harbor?