Cell-type–based model explaining coexpression patterns of genes in the brain