Snap transitions in adhesion