Germany's economy has contracted by 0.1% in the first quarter of 2023 as the monetary tightening starts to bite.