Sarkozy visits Ireland to revive EU treaty