Photonic crystal and photonic wire device structures