Fears over the state of the economy have been confirmed after figures showed Britain is in recession.