Germany's industrial production growth accelerated unexpectedly in October, strengthening hopes for an economic recovery.