Pharmacodynamic modeling of the effect of changes in the environment on cellular lifespan and cellular response