Just five days after tobacco companies won a major legal victory, the Supreme Court handed the industry a potentially big defeat: Cigarette makers will have to turn over computer databases to sick smokers who are suing them.