The structural significance of the interlayer distances of the layered hybrids (CnH2n+1NH3)2MCl4