China bashes Japan's 'history of aggression' over war-time shrine visit