Cyclisation and decarboxylation in zwitterionic micelles. Effects of head group structure