Joule heating routes for nanomaterial syntheses and surface modification for nanoscale applications