Voting ends in Turkish constitutional referendum