Self-aligned porous silicon optical waveguides