Active silicon-based two-dimensional slab photonic crystal structures based on erbium-doped hydrogenated amorphous silicon alloyed with carbon