Opposite effects of NO2 on electrical injection in porous silicon gas sensors