Probing the longitudinal electric field of Bessel beams using second-harmonic generation from nano-objects