Nicolas Sarkozy convicted in corruption trial