Global dealmaking hits $4.5tn in second-best year on record