Bose–Hubbard models with photon pairing in circuit-QED