German economy grows 0.2% in second quarter, beating expectations