Negative linear compressibility in confined dilatating systems.