Causes of vivid dreams and nightmares