Magnetohydrodynamic generator measurements in argon and helium plasmas