A precursor route to porous ZnO nanotubes with superior gas sensing properties