Constructing a molecular theory of self-assembly: Interplay of ideas from surfactants and block copolymers.