China slams Japan over security bills