Turkish voters punish Erdogan in local elections