Fairfax Media, Nine announce plan to merge