Dynamic marketing decisions in the presence of perishable demand