Molecular rotors in mesoporous materials