Electric field measurements in near-atmospheric pressure nitrogen and air based on a four-wave mixing scheme