Armenia and Azerbaijan agree on 'historic' return of villages