Variable deterioration and demand—An inventory model