Optical investigations of electrochemical processes using a long-period fiber grating functionalized by indium tin oxide