Strongly correlated photons on a chip