Sleep-state and dream perception in sleep disorders