Precise excitation-inhibition balance controls gain and timing in the hippocampus