Electrical and optical properties of ion implanted SOI-based photonic crystals