China passes national security law aimed at quashing rebellion in Hong Kong