Electroencephalographic and autonomic alterations in subjects with frequent nightmares during pre-and post-REM periods