Social interactions in transportation: analyzing groups and spatial networks