Band gaps in multicomponent photonic crystals: splitting effects and the inverse design problem