Characterizing Structured versus Unstructured Environments based on Pedestrians' and Vehicles' Motion Trajectories