Exploring the phase stability in interpenetrated diamondoid covalent organic frameworks