Electrical signatures of consciousness in the dying brain