Deviations from the Paschen's law at short gap distances from 100 nm to 10 μm in air and nitrogen