Two-step templating route to macroporous or hollow sphere oxides