Electron density measurements of a field-reversed configuration plasma using a novel compact ultrastable second-harmonic interferometer