Combinatorial nuclear level-density model