Germany's economy would have grown by 0.5% instead of contracting in 2023 if illness wasn't so high, researchers say.