Review of the trigger systems of the ATLAS and CMS detectors at the LHC