Turks are heading to the polls to elect a new president in a vote in which Prime Minister Recep Tayyip Erdogan is the front-running candidate.