Dust Evolution and the Formation of Planetesimals