Production and quality control of the barrel RPC chambers of the CMS experiment