Network dynamics of sleep stages and their characteristics