Photonic bandstructure calculations