Neurochemical thermostat: A neural interface SoC with integrated chemometrics for closed-loop regulation of brain dopamine