Brain network motifs are markers of loss and recovery of consciousness