Nitrogen doped spongy TiO 2 layers for sensors application