The CANDIDO project: development pf a CVD diamond dosimeter for application in radiotherapy