Hong Kong's legislature unanimously passes a new national security law with tough penalties, including life imprisonment for treason and insurrection.