A substrate-independent fabrication of hollow sphere arrays via template-assisted hydrothermal approach and their application in gas sensing