Entrainment and mixing in unsteady gravity currents