The R&D program for silicon detectors in CMS