Europe's biggest economy shrank last year as Germany struggles with multiple crises