Equilibrium properties of a diblock copolymer lamellar phase confined between flat plates.