The influence of the nature of the substrate on the ordering of mesoporous thin films