Former French president Sarkozy will have to wear electronic ankle bracelet after corruption conviction