A physiological view of REM sleep structure