Preparation, micromorphology and stability of tin dioxide thin films