The physical properties of massive green valley galaxies as a function of environments at $0.5<z<2.5$ in 3D-\textit{HST}/CANDELS fields — arXiv2