Vacuum phototriodes for the CMS electromagnetic calorimeter endcap