German economy shrinks for second year in a row