Beijing and Hong Kong governments slam ‘irresponsible’ remarks by EU over jailed activists