The C4F10 Cherenkov detector for DIRAC-II