Top quark mass measurements with CMS