Thermometric and potentiometric titrations of modified glass surfaces