German economy contracts in last quarter of 2021