An adaptive forecasting algorithm and inventory policy for products with short life cycles