Design of thin-film photonic crystals with complete photonic bandgap.