Photon-photon intensity interferometry in heavy-ion collisions at intermediate energies