Improved thermal stability of Au nanorods by use of photosensitive layered titanates for gas sensing applications