The origin of efficient luminescence in highly porous silicon