Phase shift in the REM sleep rhythm