Investigation of dynamically modified optical-fiber sensors for pH sensing at the extremes of the pH scale