Analysis of tunable transmission properties in photonic crystals containing doped semiconductor