Early evolution of viscous and self-gravitating circumstellar disks with a dust component