Quantum correlations between each qubit in a two-atom system and the environment in terms of interatomic distance