Radiation Hard avalanche photodiodes for CMS ECAL