UN chief hails ‘historic’ Afghan elections