Hearst, Lagardere Reach Agreement on Deal