Comparative study of porous amorphous a-Si1 xCx films and a-Si1 xCx membranes on structural and luminescence properties