Photonic band structure and defects in one and two dimensions | Synapse