The physical origin of reversible surface attachment in insects