Entangled mixed-state generation by twin-photon scattering