Metal oxide patterns of one-dimensional nanofibers: on-demand, direct-write fabrication, and application as a novel platform for gas detection