Former Kent and Essex cricketer Junaid Nadir says he suffered racial abuse at times during his career and has praised Azeem Rafiq for giving him the confidence to speak out.