Electron-positron pair production in external electric fields varying both in space and time