Chemically induced nuclear spin polarization as a tool for determination of spin multiplicities of radical-pair precursors