basis: Generalize BaseSector and BaseSectors
basis: Generalize BaseSector and BaseSectors

* Allow the types of bra and ket (sub)spaces to differ.
* Allow passing a custom sector type to BaseSectors template.

nd-nuclear-theory/basis