Servo-motor integration of the electrical activity of the brain and its applications to the automatic control of narcosis