A better economy is prompting smokers to buy more cigarettes, even as prices climb. This helped Marlboro maker Altria in its second quarter.