Generalized absolute convergence of single and double Fourier series with respect to multiplicative systems