Mass and enthalpy budget evolution during the surge of a polythermal glacier: a test of theory