Quantification of Sleep Fragmentation Through the Analysis of Sleep-Stage Transitions