CVD diamond films as photon detectors