A Bi-Directional Detection and Stimulation Optrode System With Charge Balancing for Neural Applications