CMS physics highlights in the LHC Run 1