Effective nonlinear coefficients of organic powders measured by second-harmonic generation in total reflection: numerical and experimental analysis