Scientists have found a rapid way of creating magnesite, a mineral that can absorb carbon dioxide from the atmosphere, offering a potential solution to global warming.