Gravity currents produced by lock-release: Theory and experiments concerning the effect of a free top in non-Boussinesq systems