Tin oxide nanoparticle formation using a surface modifying agent