Scientists watch cosmic dust transform into newborn planet