Greece strikes key deal with creditors