Resistive Plate Chambers performance with Cosmic Rays in the CMS experiment