Production of light nuclei in Au+Au collisions at BES-II energies using the STAR detector