The AGN dusty torus as a clumpy two-phase medium: radiative transfer modeling with SKIRT