Bipartivity index based link selection strategy to determine stable and energy-efficient data gathering trees for mobile sensor networks