Achieving long-term stability of thin-film electrodes for neurostimulation.