French president Nicolas Sarkozy sentenced