England captain Dylan Hartley was sent off just six minutes after coming on as a substitute in Northampton Saints' 37-10 defeat to Leinster in the Champions Cup.