Control of directionality of light with active and passive silicon nanostructures