G20 area's economy contracts 0.4% in Q2