Studies on morphological evolution and surface modification of nanostructured tin oxide chemical sensing and photocatalytic applications