Block copolymer self-assembly in mesostructured silica films revealed by real-time FTIR and solid-state NMR.