Nikolic to retire after elections - "but not from politics"