BHP pays record dividend as commodities outlook brightens