Arrays of waveguide-coupled optical cavities that interact strongly with atoms