four different stages of sleeping in bed