A gravity current model of cooling mantle plume heads with temperature-dependent buoyancy and viscosity