The price of oil has risen sharply after figures showed the US economy had returned to growth, its first expansion for more than a year.