Synthesis of mesoporous metal oxide materials