Mechanics of hysteretic adhesive elastic mechanical contact between rough surfaces