Block Copolymer Theory. III. Statistical Mechanics of the Microdomain Structure