Dissipation and decoherence in photon interferometry