China and S. Korea angry over Japan PM's visit to controversial shrine