Use of head-up test in the diagnosis of epileptic and syncopal episodes