Second harmonic generation by micropowders: a revision of the Kurtz–Perry method and its practical application