Greece strikes deal with creditors