According to new official figures, the German economy stagnated in the final three months of last year.