Towards an optimal control approach for drinking water decontamination.