Integral equation theory of random copolymer melts: self-consistent treatment of intramolecular and intermolecular correlations.