Er3+ Doping conditions of planar porous silicon waveguides