On the diatomite-based nanostructure-preserving material synthesis for energy applications