Performances of a CeF3 crystal scintillator and its application to the search for rare processes