The head of Turkey's election board has declared President Recep Tayyip Erdogan the winner of the country’s historic runoff vote, extending his presidency until 2028.