Toward an understanding of the thermosensitive behaviour of pH-responsive hydrogels based on cyclodextrins