Evaluating characteristic functions of character sheaves at unipotent elements