Measuring ultrafast pulses in the near-ultraviolet using spectral phase interferometry for direct electric field reconstruction