EvDTree: structure-dependent substitution profiles based on decision tree classification of 3D environments