Reconstructing generalized logical networks of transcriptional regulation in mouse brain from temporal gene expression data