Weather has an impact on the sales of certain products, and new research shows that timely adjustments in price and advertising can make it possible for firms to increase profits.