Integrated optics for coupled-cavity quantum electrodynamics