German economy stagnates in the first quarter