Greece hails 'historic' debt relief deal