Localized nonlinear waves in combined time-dependent magnetic–optical potentials with spatiotemporally modulated nonlinearities