Spontaneous conversion from virtual to real photons in the ultrastrong-coupling regime