A BiLSTM-Based Framework for Sleep Spindle and K-complex Detection with Enhanced Segment-Level Learning | Synapse