Mechanism of electroluminescence of porous silicon in electrolytes