Social groups characterization and dynamics: a network science approach