Nonlinear characterization of nanometer-thick dielectric layers by surface plasmon resonance techniques