Chameleon water: assemblies confined in nanocapsules