Engineering atom-atom thermal entanglement via two-photon process