First recording of a dying human brain shows waves similar to memory flashbacks