Magnetic properties of light-emitting porous silicon