Characterization of Mesoporous Cobalt Ferrite Foam Fabricated from Sol-Gel-Derived Nanoparticles