Spectroscopic and electrochemical properties of ion-sensing membranes fabricated by ion implantation