Optical analysis of surfaces by second harmonic generation: possible applications to the tribological field