The role of the electroencephalogram as a tool for the investigation of syncope