A novel miniature planar gas ionization sensor based on selective growth of ZnO nanowires