CMS commissioning with cosmic muon data