Circumstellar disks and planetary formation