China slams Japan after Abe's wife visits war shrine