A cross-sectional study of the effects of depression on REM latency