Calixarene carboxylate derivatives: cation recognition and switching properties