Fibre-optic reflectometric study on acid—base equilibria of immobilized indicators: effect of the nature of immobilizing agents