High-efficiency solar cell using a thin porous silicon layer