How can doctors recognize if the patient wakes up during surgery?