Design of photonic-crystal and wire waveguide interface