Turkey's Erdogan hails the massive voter turnout in the presidential election, saying it is a "democracy lesson" for other nations.