The Birth of Stars and Planets