Template synthesis of macromolecules. Synthesis and chemistry of functionalized macroporous poly(divinylbenzene)