Phase structures and transition behaviors in polymers containing rigid rodlike backbones with flexible side chains. V. Methylene side-chain effects on structure and molecular motion in a series of polyimides