Implementing efficient balanced networks with mixed-signal spike-based learning circuits