Study of electroluminescence in porous silicon for sensing applications