Calibration and test of a 6LiF-diamond detector for the HCPB mock-up experiment at JET