Variational tensor approach for approximating the rare-event kinetics of macromolecular systems