Multifunctional fourfold interpenetrating diamondoid network: gas separation and fabrication of palladium nanoparticles.