The entanglement of two dipole–dipole coupled atoms interacting with a thermal field via a two-photon process