Single-photon transport in a transmission line resonator interacting with two capacitively coupled Cooper-pair boxes