Scientists have invented a new foam which could be used to help mop up serious oil spills, like that caused by the 2010 Deepwater Horizon disaster.