Josephson photonics: Statistics of photons emitted by inelastic Cooper pair tunneling