Mesoporous hybrid thin films: the chemistry beneath