German economy contracts at record pace