Global dividends hit record $568bn in second quarter