Photoluminescence and optically detected magnetic resonance investigations on porous silicon