On the importance of thermophoresis and Brownian diffusion for the deposition of micro-and nanoparticles