Optogenetic determination of dynamic and cell-type-specific chloride equilibrium potentials