The structure factor of a wormlike chain and the random-phase-approximation solution for the spinodal line of a diblock copolymer melt.