A new matrix-tree theorem