Former French president Sarkozy to get electronic tag after being convicted of graft