Erdogan, Putin discuss mending ties over phone