Why dream only when we sleep