Jet substructure and boosted jet measurements at CMS